package sk.fhi.client.presenter;

import net.customware.gwt.dispatch.client.DispatchAsync;
import net.customware.gwt.presenter.client.EventBus;
import net.customware.gwt.presenter.client.place.PlaceRequest;
import net.customware.gwt.presenter.client.widget.WidgetDisplay;
import net.customware.gwt.presenter.client.widget.WidgetPresenter;

public abstract class BasePresenter<D extends WidgetDisplay> extends WidgetPresenter<D> implements AsbtractPresenter
{
	protected final DispatchAsync dispatcher;

	public BasePresenter(D display, EventBus eventBus, DispatchAsync dispatcher)
	{
        super(display, eventBus );
        this.dispatcher = dispatcher;
	}
	
	@Override
	protected void onPlaceRequest(PlaceRequest request) {}
	
	@Override
	protected void onUnbind() {}
}
